package strategy.weaponSimulator.character.base;

import strategy.weaponSimulator.weapon.WeaponBehavior;

public class Character {

    protected WeaponBehavior weaponBehavior;

    public void setWeaponBehavior(WeaponBehavior weaponBehavior) {
        this.weaponBehavior = weaponBehavior;
    }

    public void fight() {
        weaponBehavior.useWeapon();
    }

}
